<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:87:"C:\myphp_www\PHPTutorial\WWW\OneBase\public/../app/admin\view\message\message_edit.html";i:1545965886;s:88:"C:\myphp_www\PHPTutorial\WWW\OneBase\public/../app/admin\view\layout\edit_btn_group.html";i:1523670696;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>姓名</label>
              <input class="form-control" name="name" placeholder="请输入姓名" value="<?php echo (isset($info['name']) && ($info['name'] !== '')?$info['name']:''); ?>" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>性别</label>
              <select name="sex" >
                <option value="男">男</option>
                <option value="女">女</option>
              </select>
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>出生年月</label>
              <input class="form-control" name="date" placeholder="请输入出生年月" value="<?php echo (isset($info['date']) && ($info['date'] !== '')?$info['date']:''); ?>" type="text">
            </div>
          </div> 
         
          <div class="col-md-6">
            <div class="form-group">
              <label>班级</label>
              <span>（例如：网络工程）</span>
              <input class="form-control" name="class" placeholder="请输入班级" value="<?php echo (isset($info['class']) && ($info['class'] !== '')?$info['class']:''); ?>" type="text">
            </div>
          </div>
            
           <div class="col-md-6">
            <div class="form-group">
              <label>年级</label>
              <input class="form-control" name="grade" placeholder="请输入年级" value="<?php echo (isset($info['grade']) && ($info['grade'] !== '')?$info['grade']:''); ?>" type="text">
            </div>
          </div>

          <div class="col-md-6">
            <div class="form-group">
              <label>入学时间</label>
              <span>（例如：20150916）</span>
              <input class="form-control" name="date1" placeholder="请输入入学时间" value="<?php echo (isset($info['date1']) && ($info['date1'] !== '')?$info['date1']:''); ?>" type="text">
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>身份证号</label>
              <input class="form-control" name="idnumber" placeholder="请输入身份证号" value="<?php echo (isset($info['idnumber']) && ($info['idnumber'] !== '')?$info['idnumber']:''); ?>" type="text">
            </div>
          </div> 
            
          <div class="col-md-6">
            <div class="form-group">
              <label>联系电话</label>
              <input class="form-control" name="phone" placeholder="请输入联系电话" value="<?php echo (isset($info['phone']) && ($info['phone'] !== '')?$info['phone']:''); ?>" type="text">
            </div>
          </div> 
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="<?php echo (isset($info['id']) && ($info['id'] !== '')?$info['id']:'0'); ?>"/>
        
        <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
      </div>
        
      </div>

</form>